import React, { Component } from 'react'

export default class Child8 extends Component {
    constructor(props){
        super(props);
        this.state={
            
        }
    }
  render() {
    return (
      <div>子组件2收到的值是{this.props.str}</div>
    )
  }
}
